#ifndef BWT_H_
#define BWT_H_

#include "../bit.h"

extern void BWT_init(size_t maxbuflen);
extern void BWT_encode(bitbuf_t * dst, bitbuf_t * src);
extern void BWT_decode(bitbuf_t * dst, bitbuf_t * src);
extern void BWT_freeMem();

//Réservé au tests
extern void BWT_fileEncode(FILE * out, FILE * in);
extern void BWT_fileDecode(FILE * out, FILE * in);

#endif /* BWT_H_ */
